<%@ page pageEncoding="UTF-8"%>
<%@ taglib prefix="cw" uri="/widget-tags"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<cw:base></cw:base>
	</head>
	<body>
		<cw:form id="detail">
				<TABLE>
					<tr>
						<td align="right">
							<font color=red>*</font>身份证号码
						</td>
						<td>
							<cw:text property="id" readOnly="true" />
						</td>
						<td align="right">
							<font color=red>*</font>姓名
						</td>
						<td>
							<cw:text property="name" readOnly="true" />
						</td>
					</tr>
					<tr>
						<td align="right">
							性别
						</td>
						<td>
							<cw:combobox property="sex" data="[[1,'男'],[2,'女']]" editable="true" readOnly="true" />
						</td>
						<td align="right">
							出生日期
						</td>
						<td>
							<cw:dateField property="dateTime" readOnly="true" />
						</td>
					</tr>
					<tr>
						<td align="right">
							<font color=red>*</font>民族
						</td>
						<td>
							<cw:combobox property="nation" editable="false"
								readOnly="true" required="true" data="[[1,'汉族'],[2,'少数民族']]" />
						</td>
						<td align="right">
							<font color=red>*</font> 户籍性质
						</td>
						<td>
							<cw:combobox property="census" editable="true" readOnly="true" data="[[1,'城镇户口'],[2,'农村户口']]" />
						</td>
					</tr>
					<tr>
						<td align="right">
							邮政编码
						</td>
						<td>
							<cw:number property="zip" allowDecimals="false" allowNegative="false" validateType="zipcode" readOnly="true"/>
						</td>
						<td align="right">
							联系电话
						</td>
						<td>
							<cw:number property="phone" maxLength="8" minLength="8" allowDecimals="false" allowNegative="false"  readOnly="true"/>
						</td>
					</tr>
					<tr>
						<td align="right">
							电子邮箱
						</td>
						<td>
							<cw:text property="email" validateType="email"  readOnly="true"></cw:text>
						</td>
					</tr>
					<tr style="width: 2002px">
						<td align="right">
							户籍所在地
						</td>
						<td>
							<cw:textArea property="censusAddress"  readOnly="true"/>
						</td>
					</tr>
				</TABLE>
		</cw:form>
		<script type="text/javascript">
				Ext.onReady(function(){
					var id = "<%=request.getParameter("id")%>";
					Wonders.utils.formLoad('detail', '../../../../sample/myeditgrid.get.action', {
						id :id
					},null, '加载成功!');
				});
		</script>
	</body>
	<cw:theme></cw:theme>
</html>